package com.recsmile.sgs.client.commonds;

import java.util.Set;

import com.recsmile.sgs.client.card.Card;
import com.recsmile.sgs.client.entity.PlayerInfo;

public abstract class UseOfCardsInGameServerCommand extends InGameServerCommand
{
	private static final long serialVersionUID = -6281985550611404675L;

	private PlayerInfo source;
	private final Set<Card> cardsUsed;
	
	public UseOfCardsInGameServerCommand(PlayerInfo player, Set<Card> cards) {
		this.source = player;
		this.cardsUsed = cards;
	}

	public void setSource(PlayerInfo player) {
		this.source = player;
	}
	
	public PlayerInfo getSource() {
		return source;
	}
	
	public Set<Card> getCardsUsed() {
		return cardsUsed;
	}

}